import request from '@/utils/request'
/**
 * @description: 获取banner图
 * @param {*}
 * @return {*}
 */
export function findBannerAPI () {
  return request('/home/banner')
}

/**
 * @description: 获取新鲜好物
 * @param {*}
 * @return {*}
 */
export const findNewAPI = () => request('home/new')

/**
 * @description: 获取人气推荐
 * @param {*}
 * @return {*}
 */
export const findHotAPI = () => request('home/hot')

/**
 * @description: 获取热门品牌
 * @param {*}
 * @return {*}
 */
export const findHotBrandAPI = () => request('/home/brand', 'get', { limit: 5 })
